<?php

/**
 * @Author: Wang Chunsheng 2192138785@qq.com
 * @Date:   2020-04-09 17:22:56
 * @Last Modified by:   Wang Chunsheng 2192138785@qq.com
 * @Last Modified time: 2020-04-09 17:23:07
 */


use yii\helpers\Html;
use yii\widgets\ActiveForm;


/* @var $this yii\web\View */
/* @var $model common\models\DdGoodsSearch */
/* @var $form yii\widgets\ActiveForm */
?>

<div class="panel panel-info">
    <div class="panel-heading">
        <h3 class="panel-title">商品检索</h3>
    </div>
    <div class="panel-body">



        <div class="dd-goods-search">

            <?php


            $form = ActiveForm::begin([
                'action' => ['index'],
                'method' => 'get',
            ]); ?>

            <div class="col-xs-4 col-sm-4 col-md-4 col-lg-4">
                <?= $form->field($model, 'goods_id') ?>
                <?= $form->field($model, 'spec_type') ?>

            </div>
            <div class="col-xs-4 col-sm-4 col-md-4 col-lg-4">
                <?= $form->field($model, 'goods_name') ?>
                <?= $form->field($model, 'deduct_stock_type') ?>

            </div>
            <div class="col-xs-4 col-sm-4 col-md-4 col-lg-4">
                <?= $form->field($model, 'category_id') ?>

            </div>






            <?php // echo $form->field($model, 'content')
            ?>

            <?php // echo $form->field($model, 'sales_initial')
            ?>

            <?php // echo $form->field($model, 'sales_actual')
            ?>

            <?php // echo $form->field($model, 'goods_sort')
            ?>

            <?php // echo $form->field($model, 'delivery_id')
            ?>

            <?php // echo $form->field($model, 'goods_status')
            ?>

            <?php // echo $form->field($model, 'is_delete')
            ?>

            <?php // echo $form->field($model, 'wxapp_id')
            ?>

            <?php // echo $form->field($model, 'create_time')
            ?>

            <?php // echo $form->field($model, 'update_time')
            ?>

            <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
                <div class="form-group">
                    <?= Html::submitButton('搜索', ['class' => 'btn btn-primary']) ?>
                    <?= Html::resetButton('重置', ['class' => 'btn btn-outline-secondary']) ?>
                </div>

            </div>


            <?php ActiveForm::end(); ?>

        </div>

    </div>
</div>